package com.hxd.mall.injector.modules

import com.hxd.mall.injector.scope.ActivityScope
import com.hxd.mall.module.product.home.*
import dagger.Binds
import dagger.Module

/**
 * Created by qishuai on 2018/7/30.
 */
@Module
abstract class HomeTypeFragmentModule {

    @Binds
    internal abstract fun bindView(activity: HomeTypeFragment): IHomeView

    @ActivityScope
    @Binds
    abstract fun provideHomeTypePresenter(presenter: HomePresenter): IHomePresenter
}